package com.reach.redis.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = { ElementType.METHOD, ElementType.FIELD })
public @interface Cacheable {

	String module() default "";

	String event() default "";
	
	String key() default "";
	
	int expires() default -1;
	
	String expiresKey() default "";
	
	boolean required() default false;
	

}
